package com.chen.springcloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @ClassName
 * @Description:    服务启动类
 * @Author:
 * @Date: Created in 16:37 2022/5/22
 */
@MapperScan("com.chen.springcloud.dao")
@SpringBootApplication
@EnableEurekaClient //服务启动后自动注册到Eureka 中
@EnableDiscoveryClient  //服务发现
public class DeptProviderApplication_8002 {
    public static void main(String[] args){
        SpringApplication.run(DeptProviderApplication_8002.class,args);
    }
}
